package org.whb.user.mapper;

import org.whb.basic.mapper.BaseMapper;
import org.whb.user.domain.User;
import org.whb.user.dto.UserDto;

public interface UserMapper extends BaseMapper<User>{
    /**
     * 通过phone获取User
     * @param phoneNum
     * @return
     */
    User loadByPhone(String phoneNum);

    /**
     * 通过logininfoid找到user
     * @param id
     * @return
     */
    User loadByLogininfoId(Long id);
}
